<#include "/includes/header.ftl">
<TABLE width="100%" border="0" cellpadding="0" cellspacing="0">
<TR>
	<TD width="160" height="100" valign="top"><#include "includes/leftbar.ftl"></TD>	
	<TD valign="top" width="90%">
	<#if command.couponItem?has_content && store2Coupon?has_content>
		<#-- Main Content-->
			<table width="100%" border="0">
			  <tr>
			    <th colspan="7" align='center'><A href='<@spring.url "/myspace.jsp"/>'>我的空间</A>---<A href='<@spring.url "/listmycouponitem.jsp"/>'>我的优惠券</A></th>
			  </tr>
			  <tr>
			    <th colspan="7" align='right'><hr></th>
			  </tr>
			  
				<TR bgcolor="yellow">
						<TD style="font:12px" colspan="4">
							<TABLE width="100%">
								<FORM method="post" action='<@spring.url "/editmycouponitem.jsp"/>' name="fastreplyform">
								  <@spring.bind "command.couponItem.sysId" />    
								  <INPUT type="hidden" name="${spring.status.expression}" value='${spring.status.value?default("")}'  />
								  <INPUT type="hidden" name="cisid" value='${spring.status.value?default("")}'  />
									<TR><TD colspan="3"><B>优惠券登记</B>(必须在抽奖日期前1天登记,过期作废)</TD></TR>
									<TR><TD>店铺：</TD><TD colspan="2"><A href='<@spring.url "/viewstoredetail.jsp?ssid=${store2Coupon.site.sysId}"/>'>${store2Coupon.site.name?default("No-Store-Name")}</A></TD>
									<TR><TD nowrap="true">优惠券编号：</TD><TD>${store2Coupon.content.contentId?default("No-CouponId")}</TD>
								  <@spring.bind "command.couponItem.couponItemId" />    
									<TR><TD nowrap="true">赠券编号：</TD><TD>${spring.status.value?default("No-Coupon-Id")}</TD><TD></TD></TR>
								  <@spring.bind "command.couponItem.issueId" />    
									<TR><TD nowrap="true">抽奖期号：</TD><TD>${spring.status.value?default("No-Issue-Id")}</TD><TD></TD></TR>
									
									<TR><TD colspan="2"></TD><TD rowspan="6"><font color="red">请在你的优惠券上同样填写你输入的抽奖号码,涂改无效.</font>
									<BR><BR>领奖时:<br>1.必须提供纸质优惠券 <br>2.你输入的号码和优惠券上号码是否一致<br>3.优惠券上必须有商店的优惠券专用章</TD></TR>

									<#if 		command.couponItem.lotteryNumber0?has_content 
												||command.couponItem.lotteryNumber1?has_content
												||command.couponItem.lotteryNumber2?has_content
												||command.couponItem.lotteryNumber3?has_content
												||command.couponItem.lotteryNumber4?has_content
									>
									<TR><TD colspan="2"><font size=+3>你已填写抽奖号码，不能修改。</font></TD></TR>																		
									<#else>
									<TR><TD rowspan="5">抽奖号码：</TD>
									  <@spring.bind "command.couponItem.lotteryNumber0" />    
										<TD nowrap="true">第1注：<INPUT  type="text" name="${spring.status.expression}" value='${spring.status.value?default("")}' size="3" maxlength="3"/></TD></TR>
									  <@spring.bind "command.couponItem.lotteryNumber1" />    
										<TR><TD nowrap="true">第2注：<INPUT  type="text" name="${spring.status.expression}" value='${spring.status.value?default("")}' size="3" maxlength="3"/></TD></TR>
									  <@spring.bind "command.couponItem.lotteryNumber2" />    
										<TR><TD>第3注：<INPUT  type="text" name="${spring.status.expression}" value='${spring.status.value?default("")}' size="3" maxlength="3"/></TD></TR>
									  <@spring.bind "command.couponItem.lotteryNumber3" />    
										<TR><TD>第4注：<INPUT  type="text" name="${spring.status.expression}" value='${spring.status.value?default("")}' size="3" maxlength="3"/></TD></TR>
									  <@spring.bind "command.couponItem.lotteryNumber4" />    
										<TR><TD>第5注：<INPUT  type="text" name="${spring.status.expression}" value='${spring.status.value?default("")}' size="3" maxlength="3"/></TD></TR>
										<TR><TD></TD><TD colspan="3"><INPUT TYPE="submit" NAME="submit" value="保存"><br>(<font color="red">保存后不可修改,请准确填好</font>)</TD></TR>
									</#if>
								</FORM>
							</TABLE>
						</TD>
						<TD colspan="3">
							<TABLE>
								<TR><TD colspan="2"><A href='<@spring.url "/viewstorecoupondetail.jsp?ssid=${store2Coupon.site.sysId}&csid=${store2Coupon.content.sysId}"/>'><IMG src='IMAGES/COUPON/COUPON_DEFAULT.JPG' width="160" height="100"></A></TD></TR>
								<TR><TD nowrap="true">抽奖日期:</TD><TD>2007-11-12 ~ 2007-12-12 </TD></TR>							
								<TR><TD>抽奖说明:</TD><TD>为了保证抽奖的公开,公正,公平,采用中国福利彩票3D当期的中奖号码来抽奖,你可以参考<A href="http://www.zhcw.com/lottery/3d_info.htm">福彩3D</A>来填写你的抽奖号码.</TD></TR>							
							</TABLE>
						</TD>										
				</TR>
	  </table>	
		<#-- /Main Content-->
	</#if>
	</TD>	
</TR>
</TABLE>

<#include "/includes/footer.ftl">